package cn.bnuz.edu.todolist.pojo;

import java.util.Date;

public class Event {
    private String eventTitle;
    private String eventTime;
    private boolean isCompleted;
    private int eventType;

    public Event () {

    }

    public Event(String title, String date, int type) {
        this.eventTitle = title;
        this.eventTime = date;
        this.isCompleted = false;
        this.eventType = type;
    }

    public String getEventTitle() {
        return eventTitle;
    }

    public void setEventTitle(String eventTitle) {
        this.eventTitle = eventTitle;
    }

    public String getEventTime() {
        return eventTime;
    }

    public void setEventTime(String eventTime) {
        this.eventTime = eventTime;
    }

    public boolean isCompleted() {
        return isCompleted;
    }

    public void setCompleted(boolean completed) {
        isCompleted = completed;
    }

    public int getEventType() {
        return eventType;
    }

    public void setEventType(int eventType) {
        this.eventType = eventType;
    }

    @Override
    public String toString() {
        return eventTitle + " " + eventTime + " " + eventType;
    }
}
